package com.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.bean.wd_ht_project;
import com.dao.UserDAO;
import com.dao.wd_ht_projectMapper;
import com.service.ProjectService;
@Service
public class ProjectServiceImpl implements ProjectService{
	
	@Autowired
    @Qualifier("wd_ht_projectMapper")
    private wd_ht_projectMapper projectDao;
	public int deleteByPrimaryKey(String projectId) {
		return projectDao.deleteByPrimaryKey(projectId);
	}

	public int insert(wd_ht_project record) {
		return projectDao.insert(record);
	}

	public int insertSelective(wd_ht_project record) {
		return projectDao.insertSelective(record);
	}

	public wd_ht_project selectByPrimaryKey(String projectId) {
		return projectDao.selectByPrimaryKey(projectId);
	}

	public int updateByPrimaryKeySelective(wd_ht_project record) {
		return projectDao.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(wd_ht_project record) {
		return projectDao.updateByPrimaryKey(record);
	}

	public List<wd_ht_project> selectAll() {
		return projectDao.selectAll();
	}

	public List<wd_ht_project> selectAll1(Map<String,Object> map) {
		return projectDao.selectAll1(map);
	}

}
